package com.ngo.constant;

/**
 * @author yang.yang@karakal.com.cn
 * @version V1.0
 * @Description: 返回码
 * @date 2017-09-30 14:37
 */
public enum Response {

    SUCCESS("000000","SUCCESS"),
    FAILURE("999999","系统出现异常")
    ;

    Response(String state, String message){
        this.state = state;
        this.message = message;
    }

    private String state;
    public String getState() {
        return state;
    }
    public String getMessage() {
        return message;
    }
    private String message;
}
